package com.monitor.handle_exception.com.ex.entity;

import java.io.Serializable;
import java.util.Date;

public class DataPackage implements Serializable {
    private static final long serialVersionUID = 1L;

    private String ip;
    private int port;
    private String srcMsg;
    private Date receiveTime;
    private int type;//类型 1是异常类型，2预留扩展;

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getSrcMsg() {
        return srcMsg;
    }

    public void setSrcMsg(String srcMsg) {
        this.srcMsg = srcMsg;
    }

    public Date getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Date receiveTime) {
        this.receiveTime = receiveTime;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
